<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<body>

    <div class="cl-sidebar" data-position="right" data-step="1" data-intro="" th:fragment="nav(act_idx)">
        <div class="cl-toggle"><i class="fa fa-bars"></i></div>
        <div class="cl-navblock">
            <div class="text-right" style="padding:7px 9px;">
                <button id="sidebar-collapse" class="btn btn-default" style="background:#333;border-color:#333;"><i style="color:#fff;" class="fa fa-angle-left"></i></button>
            </div>
            <div class="menu-space">
                <div class="content">
                    <ul class="cl-vnavigation">
                        <li><a href="#"><i class="fa fa-home"></i><span>登录管理</span></a>
                            <ul class="sub-menu">
                                <li th:class="${act_idx}==1? 'active' : ''"><a href="/plantform/loginmgr">帐号管理</a></li>
                                <li th:class="${act_idx}==11? 'active' : ''"><a href="/plantform/addlogin">添加帐号</a></li>
                                <li th:class="${act_idx}==12? 'active' : ''"><a href="/plantform/loginlog">登录日志</a></li>


                            </ul>
                        </li>
                        <li><a href="#"><i class="fa fa-home"></i><span>养殖屠宰场管理</span></a>
                            <ul class="sub-menu">
                                <li th:class="${act_idx}==2? 'active' : ''"><a href="/plantform/breedmgr">养殖场管理</a></li>
                                <li th:class="${act_idx}==21? 'active' : ''"><a href="/plantform/botchermgr">屠宰场管理</a></li>
                                <li th:class="${act_idx}==22? 'active' : ''"><a href="/plantform/breedretailmgr">养殖散户</a></li>
                                <li th:class="${act_idx}==23? 'active' : ''"><a href="/plantform/importdata">数据导入</a></li>

                            </ul>
                        </li>
                        <li><a href="#"><i class="fa fa-smile-o"></i><span>组织机构管理</span></a>
                            <ul class="sub-menu">
                                <li th:class="${act_idx}==3? 'active' : ''"><a href="/plantform/areamgr">行政区域管理</a></li>
                                <li th:class="${act_idx}==31? 'active' : ''"><a href="/plantform/orgmgr">组织机构管理</a></li>
                            </ul>
                        </li>

                        <li><a href="#"><i class="fa fa-table"></i><span>权限管理</span></a>
                            <ul class="sub-menu">
                                <li th:class="${act_idx}==4? 'active' : ''"><a href="/plantform/rolemgr">权限列表</a></li>
                                <li th:class="${act_idx}==41? 'active' : ''"><a href="/plantform/addrole">添加权限</a></li>

                            </ul>
                        </li>

                    </ul>
                </div>
            </div>
        </div>
    </div>


</body>
</html>